package com.brian.desktools

import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import desktools.composeapp.generated.resources.Res
import desktools.composeapp.generated.resources.app_name
import org.jetbrains.compose.resources.stringResource

fun main() = application {
    val title = stringResource(Res.string.app_name)
    Window(
        onCloseRequest = ::exitApplication,
        title = title,
    ) {
        MainScreen {
            window.title = title+ " - " + it.title
        }
    }
}